package cn.jilian.sys.service;

import cn.jilian.common.dto.FilterPageSortQuery;
import cn.jilian.common.dto.PageResult;
import cn.jilian.entity.Role;

public interface RoleService {

	long addRole(Role role);
	 
	int updateRole(Role role);
	
	int delete(long id);
	
	PageResult<Role> list(FilterPageSortQuery query);
	
	Role findById(long id);
}
